/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 5/19/18
Time: 1:59 AM
 */

package Cn.Sarkar.MMS

import Cn.Sarkar.MMS.WebAPI.*
import io.ktor.locations.Location
import io.ktor.locations.location
import io.ktor.routing.Routing

class MMSLocations {
    @Location("/MMS/Api")
    class MMSApi
}

fun Routing.useMMSModule() {
    location<MMSLocations.MMSApi> {
        useAppLocalizationController()
        useWebServerStatusController()
        useNameController()
        useApplicationController()
        useAreaController()
    }
}